Aventura\Wprss\Core\Component\LeaveReviewNotification S

Total Complexity 40
Dependencies 10
Dependents 1
Total lines 531
Lines of code 221
Logical lines of code 96
Comment lines 207
Methods 28
Properties 3

Methods 28

Method Rating Maintainability Complexity Lines of code
_getActiveFeedSourceIds()
S
55 3 21
_getFeedSources()
S
57 3 17
isShowLeaveReviewNotification()
S
59 3 15
getFirstActivationTime()
S
61 2 13
getNoticeId()
S
62 2 12
_getFirstActivationTimeDb()
S
67 2 8
_calculateFirstActivationTime()
S
64 2 10
_getFirstActivationTimeOptionName()
S
69 2 7
_recordEarliestTimeIfNotPresent()
S
68 2 8
getNoticeContent()
S
61 1 14
isNoticeDelayPeriodExpired()
S
61 1 13
isMinFeedSourceCountReached()
S
63 1 11
_getCurrentTimestampGmt()
S
79 1 3
_getFeedSourcePostType()
S
81 1 3
_setFirstActivationTimeDb()
S
75 1 4
_getNoticesComponent()
S
81 1 3
getAdminHelper()
S
81 1 3
hook()
S
72 1 5
getReviewPageUrl()
S
72 1 5
_dateToTimestamp()
S
66 1 9
onPluginActivated()
S
82 1 3
isWprssPage()
S
81 1 3
getNoticeDelayPeriod()
S
80 1 3
getMinFeedSourceCount()
S
72 1 5
getNoticeCondition()
S
68 1 7
addLeaveReviewNotice()
S
64 1 10
init()
S
82 1 3
_createCommand()
S
80 1 3